import { Collection, Button, Text, Flex } from '@aws-amplify/ui-react'; import { countries } from 'countries-list'; export const SearchNoResultsFoundCollectionExample = () => { return ( ({ name, emoji, }))} isSearchable isPaginated itemsPerPage={9} searchNoResultsFound={ Nothing found, please try again } searchPlaceholder="Type to search..." searchFilter={(regions, keyword) => (regions as any).name.toLowerCase().startsWith(keyword.toLowerCase()) } > {(regions, index) => ( )} ); };